package com.example.esc_im_client.db.sql_enuim.sqlFactory.sqlEnum;

/**
 * @ClassName: SQLTableEnum
 * @Description:
 * @Author: 墨渍
 * @Date: 2023/9/25 23:10
 **/
public enum SQLTableEnum {

    /**
     * 欢迎页数据库表单
     */
    WELCOME("CREATE TABLE IF NOT EXISTS t_welcome (\n" +
            "    _id INTEGER PRIMARY KEY AUTOINCREMENT,\n" +
            "    url varchar(255) UNIQUE,\n" +
            "    file TEXT\n" +
            ");");

    private String sql;

    private SQLTableEnum(String sql){
        this.sql = sql;
    }

    public String getSql() {
        return sql;
    }
}
